Experimental Comparison of the Comprehensibility of a Z Specification and its Implementation
نویسنده
چکیده
Acknowledgements The authors wish to acknowledge the support of UK EPSRC, which has funded the Empirical assessment of formal Methods (EMPAF) project, (GR/L87347) and a PhD studentship for this work. We would also like to thank the students who participated in the experiment. Abstract Comprehensibility is often raised as a problem with formal notations and yet practitioners using formal methods dispute this. In a survey, one interviewee said "formal specifications are no more difficult to understand than code". Measurement of comprehension is necessarily comparative and perhaps the most useful comparison for a specification is with its implementation. Practitioners have a reasonably good intuitive feel for the comprehension of code and a quantified comparison will therefore transfer this feeling to formal specifications. We performed an experiment to compare the comprehension of a Z specification with that of its implementation in Java code. The results indicate that there is little difference in comprehensibility between the two.
منابع مشابه
Experimental comparison of the comprehensibility of a Z specification and its implementation in Java
Comprehensibility is often raised as a problem with formal notations, yet formal methods practitioners dispute this. In a survey, one interviewee said "formal specifications are no more difficult to understand than code". Measurement of comprehension is necessarily comparative and a useful comparison for a specification is against its implementation. Practitioners have an intuitive feel for the...
متن کاملExperimental Comparison of the Comprehensibility of a UML-based Formal Specification versus a Textual One
The primary objective of software specification is to promote understanding of the system properties between stakeholders. Specification comprehensibility is essential particularly during software validation and maintenance as it permits the understanding of the system properties more easily and quickly prior to the required tasks. Formal notation such as B increases a specification’s precision...
متن کاملA model for specification, composition and verification of access control policies and its application to web services
Despite significant advances in the access control domain, requirements of new computational environments like web services still raise new challenges. Lack of appropriate method for specification of access control policies (ACPs), composition, verification and analysis of them have all made the access control in the composition of web services a complicated problem. In this paper, a new indepe...
متن کاملComparison of the effect of teach-back method and video clip teaching on the sense of coherence of mothers with children suffering from asthma
Aims: The aim of this study was to compare the effect of teach-back method and video clip teaching on the sense of coherence of mothers with children suffering from asthma. Materials & Methods: In this field trial study 75 eligible mothers with children suffering from asthma were selected by convenience sampling method, but were randomly divided into three groups of: video clip group, teach-ba...
متن کاملAn automatic test case generator for evaluating implementation of access control policies
One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...
متن کامل